//============================================================================
// Copyright (C) 2012-2013 Brett R. Jones 
// All Rights Reserved
//
// You may redistribute and/or modify for non commercial and commercial uses 
// provided this copyright notice remains in place and is not modified
//
// This code is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//
// brettjones1900@gmail.com
// http://www.p2panarchy.com
//============================================================================

#include "PktKeyReq.h"
#include <VxUtilLib/vx_debug.h>
#include <memory.h>

PktKeyReq::PktKeyReq()
{
	m_u16PktType = PKT_TYPE_KEY_REQ;
	m_u16PktLen = sizeof( PktKeyReq );
	u16PktLibVersion = PKT_LIB_VERSION_BINARY;
	u16CapFlags = 0;
	u16OsType = 0;
	memset( as8Res, 0, sizeof( as8Res ) );
	as8AppVersion[ 0 ] = 0;
	as8LogOnName[ 0 ] = 0;
	vx_assert( 0 == (m_u16PktLen & 0x0f) );
}
